clear; close all; clc;
RandStream.setDefaultStream(RandStream('mt19937ar','seed',sum(100*clock)));

pieces = [2];
layerSizes = [16 20 20 1];
maxMoves = 5e4;


lambda = 0;
gamma = 0.6;
eta = 3e-5;
tau = 0.05;

info = 1000;


weights = initWeights(layerSizes, 0.05);

weights = performQLearn(weights, lambda, gamma, eta, tau, maxMoves, info, pieces);
